﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace BookShop.DTO
{
    public class Discount
    {
        public long Id { get; set; }
        public long BookId { get; set; }
        public int Percentage { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }

        [NotMapped]
        public string BookTitle { get; set; }
    }
}
